                        <!-- newsticker -->
                        
                        <?php if($menu=="index"){}else{ ?>
                        
                        <div id="newsticker-demo" style="width: 25.62%; color: white">
                            <div class="newsticker-jcarousellite" style="margin-left: 15px; width: 100%">
                                <ul>
                                <?php while($news = mysql_fetch_array($lastnews)){?>
                                    <li id="li" style="padding-top: 0px; padding-bottom: 15px; width: 100%">
				                        <div class="info" style="height: 80px; max-height: 80px; width: 100%">
                                            <div style="display: block; botom: 0px; margin-left: 10px; margin-right: 10px;">
                                                <FONT size=2>
                                                    <?php echo strip_tags(substr(utf8_decode($news['news']),0,strrpos(substr(utf8_decode($news['news']),0,230)," ")))."..."; ?>
                                                </FONT>
                                            </div>
				                        </div>
                                        <div class="mas"><a href="noticia.php?id=<?php echo $news['id']; ?>"><img src="images/ver-mas.png"/></a></div>
				                        <div class="clear"></div>
                                    </li>
                                    <?php } ?>
                                </ul>
                            </div>
                        </div>
                        <?php } ?>
                        <!-- newsticker -->
                        
                        <!-- secciones especiales -->
                        <div style="position: absolute; top: 0px; left: 0px; width: 100%">
                            <!-- funcionario -->
                            <div id="news-especial" style="position: absolute; left: 27.3543%;">
                                <?php
                                    $sql= "SELECT * FROM `news` WHERE titulo like '%#conoceatufuncionario%' order by id desc LIMIT 0,1";
                                    $resEmp = mysql_query($sql, $dbh) or die(mysql_error());
                                    $sql=mysql_fetch_array($resEmp);
                                ?>

                                <div><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img id="imagen-especial" src="../newsimages/<?php echo $sql['image']; ?>" width="100%"/></a></div>
                                <div class="intro" style="display: block; botom: 0px; width: 100%;">
                                    <font size=3><div style="color: black;"><b><?php echo $sql['titulo']; ?></b></div></font>
                                    <FONT size=2>
                                        <?php echo strip_tags(substr(utf8_decode($sql['news']),0,strrpos(substr(utf8_decode($sql['news']),0,140)," ")))."..."; ?>&nbsp; <a href="noticia.php?id=<?php echo $sql['id']; ?>"></a>
                                    </FONT>
                                </div>
                                <div class="categoria"><a href="funcionario.php"><img src="images/funcionario.png" width="100%"/></a></div>
                                <div class="more"><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img src="images/ver-mas.png" width="100%"/></a></div>
                            </div>
                            <!-- funcionario -->
                            
                            <!-- reportajes -->
                            <div id="news-especial" style="position: absolute; left: 45.9238%;">
                                <?php
                                    $sql= "SELECT * FROM `news` WHERE titulo like '%#reportaje%' order by id desc LIMIT 0,1";
                                    $resEmp = mysql_query($sql, $dbh) or die(mysql_error());
                                    $sql=mysql_fetch_array($resEmp);
                                ?>

                                <div><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img id="imagen-especial" src="../newsimages/<?php echo $sql['image']; ?>" width="100%"/></a></div>
                                <div class="intro" style="display: block; botom: 0px; width: 100%;">
                                    <font size=3><div style="color: black;"><b><?php echo $sql['titulo']; ?></b></div></font>
                                    <FONT size=2>
                                        <?php echo strip_tags(substr(utf8_decode($sql['news']),0,strrpos(substr(utf8_decode($sql['news']),0,140)," ")))."..."; ?>&nbsp; <a href="noticia.php?id=<?php echo $sql['id']; ?>"></a>
                                    </FONT>
                                </div>
                                <div class="categoria"><a href="reportajes.php"><img src="images/reportaje.png" width="100%"/></a></div>
                                <div class="more"><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img src="images/ver-mas.png" width="100%"/></a></div>
                            </div>
                            <!-- reportajes -->
                            
                            <!-- rinconcito -->
                            <div id="news-especial" style="position: absolute; left: 64%;">
                                <?php
                                    $sql= "SELECT * FROM `news` WHERE titulo like '%#rinconcito%' order by id desc LIMIT 0,1";
                                    $resEmp = mysql_query($sql, $dbh) or die(mysql_error());
                                    $sql=mysql_fetch_array($resEmp);
                                ?>

                                <div><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img id="imagen-especial" src="../newsimages/<?php echo $sql['image']; ?>" width="100%"/></a></div>
                                <div class="intro" style="display: block; botom: 0px; width: 100%;">
                                    <font size=3><div style="color: black;"><b><?php echo $sql['titulo']; ?></b></div></font>
                                    <FONT size=2>
                                        <?php echo strip_tags(substr(utf8_decode($sql['news']),0,strrpos(substr(utf8_decode($sql['news']),0,140)," ")))."..."; ?>&nbsp; <a href="noticia.php?id=<?php echo $sql['id']; ?>"></a>
                                    </FONT>
                                </div>
                                <div class="categoria"><a href="funcionario.php"><img src="images/rinconcito.png" width="100%"/></a></div>
                                <div class="more"><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img src="images/ver-mas.png" width="100%"/></a></div>
                            </div>
                            <!-- rinconcito -->
                            <!-- Twitter, Wather -->
                            <div style="position: absolute; left: 82.5%;">
                                <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
                                <script> 
                                    new TWTR.Widget({
                                        version: 2,
                                        type: 'profile',
                                        rpp: 20,
                                        interval: 6000,
                                        width: 220,
                                        height: 210,
                                        theme: {
                                            shell: {
                                                background: '#666666',                                            
                                                color: '#ffffff'
                                            },
                                            tweets: {
                                                background: '#ffffff',
                                                color: 'black',
                                                links: '#669933'
                                            }
                                        },
                                        features: {
                                            scrollbar: true,
                                            loop: true,
                                            live: true,
                                            hashtags: true,
                                            timestamp: true,
                                            toptweets: true,
                                            behavior: 'all'
                                        }
                                    }).render().setUser('infomedia_mx').start();
                                </script>
                                <iframe id="TTF_vCjzDjDjzjCeAesAjAVkk11116nA1dClbdktEcCIaEj" src="http://www.tutiempo.net/V4/widget/tt_NXx8MDAwMDAwfHN8bnxufDMwMjI5fDMwfDExfDF8MXwxfDN8MjV8c3xzfG58RTg2RjZGfDcxQjlGMHx8fEZGRkZGRnw2Nnw0fDU3fDYwfDE0NnwyMnw3NnwwfDIxMnwxMjB8MjR8Mzh8MTV8MTV8Mjl8NTR8Mjh8aGl8MXw%2C" frameborder="0" scrolling="no" width="" height="" allowtransparency="allowtransparency" style="overflow:hidden; width: 220px; margin-top: 15px;"></iframe>
                            </div>
                        </div>
                        <!-- secciones especiales -->
                        
                        <!-- secciones tv, radio, yucas -->
                        <div style="position: absolute; top: 265px; left: 27.5%;">
                            <div id="imtv" style="position: absolute; height: auto;">
                                <a href="../tv/tv-test.php" target="_blank"><img src="images/imtv.png" width=""/></a>
                            </div>
                            <div id="radio" style="position: absolute; left: 240px;">
                                <a href="../newradio" target="_blank"><img src="images/imradio.png" width=""/></a>
                            </div>
                            <div id="yucas" style="position: absolute; left: 480px;">
                                <a href="yucatan.php" target="_blank"><img src="images/imyucatan.png" width=""/></a>
                            </div>
                        </div>
                        <!-- secciones tv, radio, yucas -->